// 基本信息
export const baseColumns = [
    "平台",
    "订单",
    "站点",
    "店铺",
    "下单时间",
    "下单邮箱",
    "订单类型",
    "状态"
]
//基本信息对照表
export const baseColumnsMap = {
    "平台": "platform",
    "订单": "orderId",
    "站点": "site",
    "店铺": "store",
    "下单时间": "orderCreatedTime",
    "下单邮箱": "billingEmail",
    "订单类型": "orderType",
    "状态": "orderStatus"
}
// 金额信息
export const amountColumns = [
    "订单金额",
    "币种",
    "原价",
    "优惠",
    "运费",
    "税金",
    "国税",
    "州税",
    "VAT"
]
// 金额信息对照表
export const amountColumnsMap = {
    "订单金额": "invoicedAmount",
    "币种": "currency",
    "原价": "subtotal",
    "优惠": "discountAmount",
    "运费": "deliveryAmount",
    "税金": "taxAmount",
    "国税": "countryTaxAmount",
    "州税": "regionTaxAmount",
    "VAT": "outputVatAmount"
}
//地址信息
export const addressColumns = [
    "国家",
    "地址",
    "姓名",
    "电话",
    "邮箱",
]
//地址信息对照表
export const addressColumnsMap = {
    "国家": "shippingCountry",
    "地址": "childAddressItem",
    "姓名": "shippingCustName",
    "电话": "shippingTelephone",
    "邮箱": "shippingEmail"
}
//归因信息
export const causeColumns = [
    "神策用户",
    "自定义归因",
    "首因",
    "末因",
]
//归因信息对照表
export const causeColumnsMap = {
    "神策用户": "sensorsUserId",
    "自定义归因": "protect",
    "首因": "first",
    "末因": "latest"
}

// 状态表
export const statusMap = {
    canceled: "已取消(用户主动取消)",
    closed: "已关闭(超时系统自动关闭)",
    pending_payment: "等待支付",
    payment_review: "重复支付",
    payment_completed: "支付完成(支付成功即已完成)",
    pending: "待支付",
    refunded: "订单产生退款",
    processing: "订单备货中",
    complete: "订单完成"
}
